<?php
require 'db.php';
$id=$_POST['id'];
mysql_query("DELETE FROM records WHERE id='$id'")or die(mysql_error());
echo "deleted";
?>
